package com.cn.common.imp;

/**
 * @description 枚举类 代码分离
 * @author liss
 */
public enum SQLID {

	SQLID_INSERT("insert"),
	SQLID_INSERT_BATCH("insertList"),
	SQLID_UPDATE("update"),
	SQLID_UPDATE_PARAM("updateList"),
	SQLID_DELETE("delete"),
	SQLID_DELETE_PARAM("deleteList"),
	SQLID_TRUNCATE("truncate"),
	SQLID_SELECT("select"),
	SQLID_SELECT_PK("selectPk"),
	SQLID_SELECT_PARAM("selectParam"),
	SQLID_SELECT_ONE("selectOne"),
	SQLID_SELECT_FK("selectFk"),
	SQLID_COUNT("count"),
	SQLID_COUNT_PARAM("countParam");
	
	private String SQL;
	
	private SQLID(String sql){
		this.SQL=sql;
	}
	
	public String toString(){
		return this.SQL;
	}
}
